import { WeaLocaleProvider } from 'ecCom';

class Home extends React.Component {
  render() {
    return (
      <div style={{ height: '100%' }}>
        <iframe
          id="hiddenPreLoaderSingle"
          name="hiddenPreLoaderSingle"
          style={{ display: 'none' }}
          width="0"
          height="0"
          border="0"
          frameBorder="0"
        />
        <WeaLocaleProvider ecId={`${this && this.props && this.props.ecId || ''}_WeaLocaleProvider@76r3ml`}>
          {this.props.children}
        </WeaLocaleProvider>
      </div>
    );
  }
}

export default Home;
